package tp2lab;

public final class Card {
    private int wartosc;
	private String figura;
	private String kolor;
	
	Card(String figura, String kolor, int wartosc){
		this.figura = figura;
		this.kolor = kolor;
		this.wartosc = wartosc;
	}
	
	public String getFigura(){
		return figura;
	}
	
	public String getKolor(){
		return kolor;
	}
	
	public int getWartosc(){
	    return wartosc;
	}
	
	public String toString(){
		return figura + " " + kolor;
	}
	
}
